home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / • Other Platforms / PCCTS 1.31 / testcpp / makefile
Encoding:
Makefile  |  1995-03-10  |  1.0 KB  |  43 lines  |  [TEXT/MPS ]

  1. #
  2. # Makefile for C++ test examples
  3. # Do a "make CCC=g++" or whatever if your make doesn't define CCC
  4. # as the C++ compile macro.
  5. #
  6. Cplusplus = g++
  7. make:
  8.     -(cd 1; make CCC=$(Cplusplus))
  9.     -(cd 2; make CCC=$(Cplusplus))
  10.     -(cd 3; make CCC=$(Cplusplus))
  11.     -(cd 4; make CCC=$(Cplusplus))
  12.     -(cd 5; make CCC=$(Cplusplus))
  13.     -(cd 6; make -f makefile2 CCC=$(Cplusplus); make CCC=$(Cplusplus))
  14.     -(cd 7; make CCC=$(Cplusplus))
  15.     -(cd 8; make CCC=$(Cplusplus))
  16.     -(cd 9; make CCC=$(Cplusplus))
  17.     -(cd 10; make CCC=$(Cplusplus))
  18.     -(cd 11; make CCC=$(Cplusplus))
  19.     -(cd 12; make CCC=$(Cplusplus))
  20.     -(cd 13; make CCC=$(Cplusplus))
  21.  
  22. scrub:
  23.     (cd 1; make scrub)
  24.     (cd 2; make scrub)
  25.     (cd 3; make scrub)
  26.     (cd 4; make scrub)
  27.     (cd 5; make scrub)
  28.     (cd 6; make scrub; make -f makefile2 scrub)
  29.     (cd 7; make scrub)
  30.     (cd 8; make scrub)
  31.     (cd 9; make scrub)
  32.     (cd 10; make scrub)
  33.     (cd 11; make scrub)
  34.     (cd 12; make scrub)
  35.     (cd 13; make scrub)
  36.  
  37. tar:
  38.     (make scrub; cd ..; tar cvfFF $(ARC)/testcpp.tar test.C++)
  39.  
  40. test:
  41.     echo "under construction..."
  42.  
  43. input1: abc 34